﻿package mortal.game.net.command.copy.groupCopy
{
    import Framework.MQ.*;
    import Message.Public.*;
    import mortal.game.cache.*;
    import mortal.game.net.broadCast.*;
    import mortal.game.view.copy.groupCopy.view.*;

    public class GroupCopyInviteCommand extends BroadCastCall
    {

        public function GroupCopyInviteCommand(param1:Object)
        {
            super(param1);
            return;
        }// end function

        override public function call(param1:MessageBlock) : void
        {
            var _loc_2:* = param1.messageBase as SGroupCopyInvite;
            Cache.instance.group.addGroupCopyInviteList(_loc_2);
            GroupCopyInviteIcon.instance.show();
            GroupCopyInviteIcon.instance.sGroupCopyInvite = _loc_2;
            if (!GroupCopyInviteWin.instance.isHide)
            {
                GroupCopyInviteWin.instance.updateInviteList();
            }
            return;
        }// end function

    }
}
